Skip to content

Stop reloading Tailwind during morph navigation#704

Closed
srid wants to merge 1 commit intomasterfrom
codex/fix-e2e-morph-calendar
Closed

Stop reloading Tailwind during morph navigation#704
srid wants to merge 1 commit intomasterfrom
codex/fix-e2e-morph-calendar

Conversation

@srid
Copy link
Copy Markdown
Owner

@srid srid commented May 4, 2026

Morph navigation no longer re-executes the Tailwind browser compiler on every route switch. The live-server Tailwind CDN script installs a document-wide MutationObserver; Ema's generic script reloader was running that script again after morphs, multiplying observers and making the calendar route wait behind repeated Tailwind rebuild work before the test harness could observe navigation completion.

The fix marks the live Tailwind CDN script with Ema's existing data-ema-skip="true" contract. The original Tailwind observer remains active and still sees morphed DOM changes; it just is not duplicated by reloadScripts.

Validation run locally:

  • just e2e-morph - 42 passed
  • just e2e-live - 42 passed
  • just e2e-static - 39 passed, 3 skipped

Generated by Codex (model gpt-5).

@srid srid force-pushed the codex/fix-e2e-morph-calendar branch from 9c846cc to f6e4679 Compare May 4, 2026 20:25
@srid srid changed the title [codex] Keep fresh calendar checks out of morph e2e [codex] Keep sidebar terminal leaves childless May 4, 2026
@srid srid force-pushed the codex/fix-e2e-morph-calendar branch from f6e4679 to 3894bac Compare May 4, 2026 20:50
@srid srid changed the title [codex] Keep sidebar terminal leaves childless Stop reloading Tailwind during morph navigation May 4, 2026
@srid srid closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant